package com.qf.microuser.point.task;

import com.qf.microuser.point.service.PointRetryService;
import com.xxl.job.core.handler.annotation.XxlJob;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * --- 缘分让我们相遇乱世以外 ---
 *
 * @author SJY
 * 2025/1/3
 */
@Component
public class PointXxlJob {

    @Resource
    private PointRetryService pointRetryService;

    @XxlJob(value = "testMyJob")
    public void test(){
        System.out.println("xxl job test");
    }

    @XxlJob(value = "pointRetry")
    public void pointRetryTask(){
        pointRetryService.pointRetryTask();
    }
}
